from django.urls import path, re_path

from apps.goods import views

urlpatterns = [
    re_path(r'list/(?P<category_id>\d+)/(?P<page_num>\d+)/', views.GoosListView.as_view(), name="list"),
    re_path(r'hot/(?P<category_id>\d+)/$', views.HostView.as_view(), name="host"),
    re_path(r'detail/(?P<sku_id>\d+)/$', views.DetailView.as_view(), name="detail"),
]
